/**
 * @filename:FilesService 2022-04-24 10:49:28
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lwl.blue.commont.base.JsonResult;
import com.lwl.blue.commont.base.PageParam;
import com.lwl.blue.entity.Files;

/**
 * <p>自定义service写在这里</p>
 *
 * <p>说明： 上传文件记录表服务层</P>
 *
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 */
public interface FilesService extends IService<Files> {
    JsonResult<Page<Files>> pages(PageParam<Files> pageParam);

    /**
     * <p>数据源新增或修改是变更文件信息</P>
     *
     * @param urls
     * @param oldUrls
     * @param sourceId
     * @param sourceNo
     */
    void updateBySaveOrUpdate(String urls, String oldUrls, Integer sourceId, String sourceNo);

    void updateByDelete(String urls);

}
